.hide-page-nav {
  .main-container {
    padding-right: 0px !important;
  }
  .document-nav {
    display: none;
  }
}

.document-nav {
  overflow: hidden;
  z-index: 5;
  background: #fff;

  .nav-item {
    position: relative;
  }

  .nav-link {
    display: block;
    text-decoration: none;
    color: @B900;
    font-size: 12px;
    position: relative;
    padding: 6px 0;
    box-sizing: border-box;
    height: auto;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    &::before {
      content: '';
      display: block;
      position: absolute;
      width: 1px;
      height: 100%;
      top: 0;
      background: @B200;
    }

    &:hover {
      text-decoration: none;
    }

    &.scroll-bar-left::before {
      left: 0;
    }

    &.scroll-bar-right::before {
      right: 0;
    }

    &.active {
      color: @H700;

      &::before {
        width: 2px;
        background: @H700;
      }
    }
  }
}

.menu-button {
  position: fixed !important;
  right: 5px;
  top: 10px;
  z-index: 0;
}
